cmake_minimum_required(VERSION 3.10)

project(aspect)

# set(CMAKE_CXX_STANDARD 17)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) 
set(CMAKE_CXX_EXTENSIONS OFF)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

add_definitions("-Wall -g")

message(STATUS "LINK directory: ${PROJECT_SOURCE_DIR}/lib")

include_directories(${PROJECT_SOURCE_DIR}/include)

set(SRC_FILES
src/main.cpp
src/abc_loader.cpp
src/method_filter.cpp
src/method_inspect.cpp
)
# ${SRC_FILES}

add_executable(aspect ${SRC_FILES})

target_link_directories(aspect PRIVATE ${PROJECT_SOURCE_DIR}/lib)

target_link_libraries(aspect abckit)
